package com.bridgeintelligent.tag.mapper;

import com.bridgeintelligent.tag.webserver.dim.mgmt.api.DimMine;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by JackCheung on 2019/9/13 5:15 PM.
 */
@Mapper
public interface DimMineMapper {

    List<String> list(@Param("userId") String userId);

    int findExits(@Param("dim_id") String dimId, @Param("user_id") String userId);

    void add(DimMine dimMine);

    void del(@Param("dim_id") String dimId, @Param("user_id") String userId);

}
